package com.atguigu.edustatistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author cyt
 * @create 2020-06-04 8:36
 */
@MapperScan("com.atguigu.edustatistics.mapper")
// 开启定时任务
@EnableScheduling
@ComponentScan(basePackages = {"com.atguigu"})
@SpringBootApplication
@EnableDiscoveryClient
public class Statistics_Application {

    public static void main(String[] args) {
        SpringApplication.run(Statistics_Application.class);
    }
}
